Optimal. Leaf size=82 \[ \frac {1}{5} x^5 \left (a^2 d^2+4 a b c d+b^2 c^2\right )+a^2 c^2 x+\frac {2}{7} b d x^7 (a d+b c)+\frac {2}{3} a c x^3 (a d+b c)+\frac {1}{9} b^2 d^2 x^9 \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {373} \begin {gather*} \frac {1}{5} x^5 \left (a^2 d^2+4 a b c d+b^2 c^2\right )+a^2 c^2 x+\frac {2}{7} b d x^7 (a d+b c)+\frac {2}{3} a c x^3 (a d+b c)+\frac {1}{9} b^2 d^2 x^9 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 373
Rubi steps
\begin {align*} \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^2 \, dx &=\int \left (a^2 c^2+2 a c (b c+a d) x^2+\left (b^2 c^2+4 a b c d+a^2 d^2\right ) x^4+2 b d (b c+a d) x^6+b^2 d^2 x^8\right ) \, dx\\ &=a^2 c^2 x+\frac {2}{3} a c (b c+a d) x^3+\frac {1}{5} \left (b^2 c^2+4 a b c d+a^2 d^2\right ) x^5+\frac {2}{7} b d (b c+a d) x^7+\frac {1}{9} b^2 d^2 x^9\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 82, normalized size = 1.00 \begin {gather*} \frac {1}{5} x^5 \left (a^2 d^2+4 a b c d+b^2 c^2\right )+a^2 c^2 x+\frac {2}{7} b d x^7 (a d+b c)+\frac {2}{3} a c x^3 (a d+b c)+\frac {1}{9} b^2 d^2 x^9 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a+b x^2\right )^2 \left (c+d x^2\right )^2 \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.74, size = 91, normalized size = 1.11 \begin {gather*} \frac {1}{9} x^{9} d^{2} b^{2} + \frac {2}{7} x^{7} d c b^{2} + \frac {2}{7} x^{7} d^{2} b a + \frac {1}{5} x^{5} c^{2} b^{2} + \frac {4}{5} x^{5} d c b a + \frac {1}{5} x^{5} d^{2} a^{2} + \frac {2}{3} x^{3} c^{2} b a + \frac {2}{3} x^{3} d c a^{2} + x c^{2} a^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.43, size = 91, normalized size = 1.11 \begin {gather*} \frac {1}{9} \, b^{2} d^{2} x^{9} + \frac {2}{7} \, b^{2} c d x^{7} + \frac {2}{7} \, a b d^{2} x^{7} + \frac {1}{5} \, b^{2} c^{2} x^{5} + \frac {4}{5} \, a b c d x^{5} + \frac {1}{5} \, a^{2} d^{2} x^{5} + \frac {2}{3} \, a b c^{2} x^{3} + \frac {2}{3} \, a^{2} c d x^{3} + a^{2} c^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 87, normalized size = 1.06 \begin {gather*} \frac {b^{2} d^{2} x^{9}}{9}+\frac {\left (2 a b \,d^{2}+2 b^{2} c d \right ) x^{7}}{7}+a^{2} c^{2} x +\frac {\left (a^{2} d^{2}+4 a b c d +b^{2} c^{2}\right ) x^{5}}{5}+\frac {\left (2 a^{2} c d +2 a b \,c^{2}\right ) x^{3}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.06, size = 82, normalized size = 1.00 \begin {gather*} \frac {1}{9} \, b^{2} d^{2} x^{9} + \frac {2}{7} \, {\left (b^{2} c d + a b d^{2}\right )} x^{7} + \frac {1}{5} \, {\left (b^{2} c^{2} + 4 \, a b c d + a^{2} d^{2}\right )} x^{5} + a^{2} c^{2} x + \frac {2}{3} \, {\left (a b c^{2} + a^{2} c d\right )} x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 75, normalized size = 0.91 \begin {gather*} x^5\,\left (\frac {a^2\,d^2}{5}+\frac {4\,a\,b\,c\,d}{5}+\frac {b^2\,c^2}{5}\right )+a^2\,c^2\,x+\frac {b^2\,d^2\,x^9}{9}+\frac {2\,a\,c\,x^3\,\left (a\,d+b\,c\right )}{3}+\frac {2\,b\,d\,x^7\,\left (a\,d+b\,c\right )}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 97, normalized size = 1.18 \begin {gather*} a^{2} c^{2} x + \frac {b^{2} d^{2} x^{9}}{9} + x^{7} \left (\frac {2 a b d^{2}}{7} + \frac {2 b^{2} c d}{7}\right ) + x^{5} \left (\frac {a^{2} d^{2}}{5} + \frac {4 a b c d}{5} + \frac {b^{2} c^{2}}{5}\right ) + x^{3} \left (\frac {2 a^{2} c d}{3} + \frac {2 a b c^{2}}{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________